package com.aliyun.service;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.aliyun.bean.QueryPara;
import com.aliyun.dao.AliyunDao;

@Transactional  
@Component("aliyunService")
public class AliyunService {
	@Resource
	AliyunDao aliyunDao;
	
	
	public int insertAliyunHuaKuai(Map<String,String> map)throws SQLException{
		return aliyunDao.insertAliyunHuaKuai(map);
	}
	public List<Map<String, Object>> getAliyunSession(QueryPara qp) throws SQLException{
		return aliyunDao.getAliyunSession(qp);  
	}
}
